#ifndef ROTATEDGAUSSSEIDELSOLVER_H
#define ROTATEDGAUSSSEIDELSOLVER_H
#include "gaussseidelsolver.h"

class RotatedGaussSeidelSolver : public GaussSeidelSolver
{
protected:
    double iteration();
    const double alpha;

//    double ro;
public:
    RotatedGaussSeidelSolver(int _n, double mu1=0.3, double e1=2.1e6, QObject * parent = 0);
//    int solve();

    //void turnCoordinatesBack();
    int solve();
    double updateLagrange(double ro);
};

#endif // ROTATEDGAUSSSEIDELSOLVER_H
